package dao.Impl;

import dao.PetDao;
import entity.Pet;
import org.springframework.stereotype.Repository;

@Repository("petDao") // Use Repository for DAO layer, more semantically correct
public class PetDaoMySQLlmpl implements PetDao {
    
    @Override
    public int insert(Pet pet) {
        System.out.println("将宠物\"" + pet.getName() + "\"插入到MySQL数据库");
        return 1;
    }
}